package com.yunzheng.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yunzheng.entity.ProjectPlan;
import com.yunzheng.vo.ProjectPlanVO;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yunzheng.mapper.ProjectPlanMapper;
import com.yunzheng.service.ProjectPlanService;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 郭思良
 * @create 2020-07-23 15:38
 */

@Service
public class ProjectPlanServiceImpl extends ServiceImpl<ProjectPlanMapper, ProjectPlan> implements ProjectPlanService {

    @Resource
    private ProjectPlanMapper projectPlanMapper;

    @Override
    public List<ProjectPlanVO> showProjectPlan(String projectId) {
        return projectPlanMapper.selectAllByProjectId(projectId);
    }
}

